NXP Semiconductors /MIMXRT1021 /USB /GPTIMER0CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as GPTIMER0CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0GPTCNT0 (GPTMODE_0)GPTMODE 0 (GPTRST_0)GPTRST 0 (GPTRUN_0)GPTRUN

GPTRST=GPTRST_0, GPTMODE=GPTMODE_0, GPTRUN=GPTRUN_0

Description

General Purpose Timer #0 Controller

Fields

GPTCNT

General Purpose Timer Counter. This field is the count value of the countdown timer.

GPTMODE

General Purpose Timer Mode In one shot mode, the timer will count down to zero, generate an interrupt, and stop until the counter is reset by software; In repeat mode, the timer will count down to zero, generate an interrupt and automatically reload the counter value from GPTLD bits to start again

0 (GPTMODE_0): One Shot Mode

1 (GPTMODE_1): Repeat Mode

GPTRST

General Purpose Timer Reset

0 (GPTRST_0): No action

1 (GPTRST_1): Load counter value from GPTLD bits in n_GPTIMER0LD

GPTRUN

General Purpose Timer Run GPTCNT bits are not effected when setting or clearing this bit.

0 (GPTRUN_0): Stop counting

1 (GPTRUN_1): Run

Links

() ()